<%@ page import="com.hyy.taobao.api.entity.User" %><%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2021/4/11
  Time: 12:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>注销用户页面</title>
</head>
<body>
<h3>${msg}</h3>
<hr>
<form action="/deleteUser" method="post">
    密码<input type="text" name="userPassword"><br>
    密保问题：<%User myUser = (User) session.getAttribute("myUser");
    out.println(myUser.getSecurityQuestion());%><br>
    密保答案<input type="text" name="userSecurityAnswer"><br>
    <button type="submit">提交</button>
</form>
</body>
</html>
